made animations smoother.