can presse Pause key to pause the animation