correct the way the animation works