Optimize animation-framing

Animation framing is optimized.