Merge "Fix window x-axis movement after gesture ends." into tm-qpr-dev