Consolidating all animations into a single setInterval timer