he stepped back on the craggy outcropping , seemed to lose his footing , but then he got his arms up and wrapped around the leg as the helicopter swayed back from the cliff and turned its nose out over the water .