Getting back to the previous working pane in more cases