Added a way to stop the animation timer.