add easing effect