they all laughed and stamped and clapped their hands , when the dwarves ( with poor little bilbo at the back and nearest to the whips ) came running in , while the goblin-drivers whooped and cracked their whips behind .