seconds later , bernard plunged into the light atop a hard-ridden grey , with foam on its withers and blood on its flanks , torn flaps of skin hanging from the terrified beast where something had raked at it .