V5 sidebar switching from one section to another

A tiny niggle:

You have eg debug sidebar showing and you want to switch to configuration data.

Click to hide debug. The sidebar collapses since it now has no content.
Click to show config data. Sidebar comes back but it shows both debug and config data sections.

If you don't want the sidebar to be split, drag the debug panel to the top section. Then you can switch between them with one click.

If you want the split view normally, but just want to 'maximise' a particular sidebar temporarily, then click to show the config sidebar in the top section first, then click debug to hide it.