improve sprite movement to look smoother