Dual pane functionality (with bug)