Added support for jQueryUI animation