Refactored theme animations.

* Removed JS dependence.
* Fixed bugs.
* 10% less doge. Amaze.
Removed unused library.