Changed the sidebar to be a panel