spacebar now stops the animation