Using jquery.easing plugin for animation (http://jqueryui.com/resources/demos/effect/easing.html)