another failed attempt at getting the animation to point smoothly to the right direction