Refactor AnimationChain