Refactored
* Corrected the animation cycles