add a way to use jQuery's easing
improve animtaion finish