Improve animation loop methods
Merge pull request #39 from skidding/improve-animation-loop-methods

Improve animation loop methods