add shift-click functionality to flag squares