then , with a grace that seemed preposterous for such a large body , it swung around and ran towards the far edge of the courtyard , all four legs swiveling swiftly underneath it like a dog or a cat .