The red box forms an elastic band around the squares. It can be moved
by clicking on a number. Using the left mouse button moves the top-left
corner, the right button moves the bottom-right corner.
Pressing either of the two arrows rotates only the outer squares of
a rectangle, either clockwise or anti-clockwise.
The idea is to return the grid to the reset position.