Added a button to pause/resume the animation