Revert "refactored animation."

This reverts commit a616b4297f1c74cbb455a6c0f63199f291f92cf9.