Updated to make the motion a little smoother, reduce vertical bounce correction.