Changed the sidebar initialization