Animated the unit and the AP bar, along with fixing the viewport on resize and make refactoring a few random things along the way.