Solve the animation problem