bug fixes and made the animation interactive