Remember latest tab when toggling the details pane