smoother animation, adding easing property