Made animation more smoother.