Created smoother movement effect