Using easing for more than just CSS transitions