Toggle the grid on/off.