linear interpolation for movement