The blue square below should pause while left-aligned inside the border, then slide rightwards, stopping at the right edge.

Testing...