as if realising its mistake , the doors slid open , jarring both bodies against the door frame ; acting like an iron cage as they struggled to get free , which in turn kept the motion sensor active thus keeping the doors wide open .