Define a toggle for whitespace mode.