added functionality to create new pane when trying to move to non-existe...

...nt pane