Fix panel toggle when switching tabs on embedded details pane