he teetered dangerously at the lip of the hole in the ship -- he had changed orientation suddenly and was looking down on it -- then took a step backward as its lid came down of itself and fitted smoothly against the hull .