bunch of fixes
a start for rendering the subsection sidebar