Fixed order of update() and detectAnimationState(). Also added animate() user method. Closes #35, closes #34.