added dual pane mode