Add Sharing section on sidebar

Also fixed the default collapsing states of sidebar sections.