added easing functions based on jquery