at the last instant , she pulled her legs up into her chest and bent her arms slightly at the elbow , catapulting her body into a somersault as she landed and using the momentum to roll back up onto her feet .