Moves getAnimationLength.