Added pause/resume for spritemap animations

This makes pausing an animation more intuitive.