create the sidebar and add a search box