Optimize the tr animate.