Implemented smoother movement