changed movement to be smoother