shuffling along the ledge , he hung on to the sill for as long as he could ; then he had to dig into the siding with his fingernails , clawing a hold to keep that center of gravity in his ass from peeling him off the side of the building .