Square+and+Nails

A square is resting on two nails, shown in the figure as blue dots. How does the bottom corner of the square move as the square slides along the nails? Drag the red circle to find out!

media type="custom" key="10877724"