LDEV-3914: Fixed the horizontal scroll bar that appeared in learner and monitor, by setting the margins in the first row to 0 (they default to -15). Tweaked the show/hiding of the progress bar to suit more cases and to keep parallel activities aligned.
LDEV-3914: Tweaked when the sidebar is displayed to reduce flicker and added an override parameter for tools that want to do their own layout (like Data Collection and Wiki) to stop the usual panel being loaded.