Steps to reproduce bug:
----------------------
1. View page with narrow content
2. Edit page --> wide content (this is correct)
3. Cancel/Save
4. Page has now wide content, but should have narrow content
Fix
---
Only remember width of content when we are view a page, i.e. `do=show`
SPR-982
This removes the base z-indexes as they seem not to be needed (source
order defines initial heights) and interfered with the sidbar functionality.
Removing it was suggested in SPR-899 as well
So we do not have to open the same section of the sidebar every time, we click
a link to a new page.
It forgets the toggle-state if the content is manually or automatically
widened, for example by clicking on an edit-button.
SPR-883
Now all toggling of the sidebar and the related menus is done through
the same click handler. HTML has been unified. All sidebar related
content is now in a single include file instead of several. Icons for
the site tools user tools and trace have been added.
The CSS for the whole sidebar still has to be refactored.
Now the SVGs are loaded via AJAX and are directly embedded into the
HTML. This allows for styling them via CSS and we can apply proper hover
styles.
The svg dispatcher was extended with an embed option (boolean parameter
'e') which will return an absolute minimum svg with absolutely no
styles.
This implements the JS logic as discussed in our meeting. A sidebar can
now contain virtually any wiki syntax. (currently hardcoded) H2 elements
will toggle all their following content which is wrapped in a wrapper
div.
This is currently implemented on top of the old JavaScript which should
be removed.
The toggle element should be made configurable.
We probably want to reuse some of the toggle logic for the user tools.