Sensible pane switching