add movement smoothing