Added support for animation easing

Requires jQuery UI is loaded