Added support for clicking on the squares in the rotation view.