Main window: add option to enable horizontal split