trying to right himself , he thrust back on awkward wingbeats to crash into the crumbled parapet that edged the court , where he set off a cascade of dirt and ended up hanging by one hand from the wall .