Added the ability to pause/play the animations