Was he maybe just shedding his skin? Having a bit of trouble picturing what you're describing. Did it put its back legs by its face? They're pretty flexible. Here's a video of my male shedding.