Add toggle-window-split function.

Allows switching between horizontal and vertical window split with a
single function call. Neat.