Added pane switching