[yanqian & fangzhigang] Refactor the animation.