Added option to swap pane position (put edit pane above output)

If the option is on, then vertical layout has code on top, output on bottom,
and horizontal has code on left, output on right.

Also, with code on top, changed notebook tabs to be on top too.