split now inherits the path of the parent window
Added horizontal split too