Animation Easing & Smooth Transition

Added css easing to animation (and shortcut functions)
Modified transition to use requestAnimationFrame
Consider making it so that transition can be used instead of animation
(for independent animations).