improved the sidebar