See here for how to switch back and forth between a horizontal split and a vertical split. Quick summary:
-o
ctrl+w
shift-j