Refactor Sidebar

Refactor sidebar so html is not generated via third party tools