ability to pause/resume/restart the animation loop