The blue square below should slide rightwards without moving vertically, and then stop without returning to the initial position.
Testing...