better pane switching