figured out how to fix the animation