Press spacebar to pause simulation