The clock hung on the shelf and swung back and forth, making a thumping sound.