#make the animation more smooth