Added toggling of squares