switch preview pane with textedit pane