Fix up styling and layout of the sidebar
[skip ci]