implemented a sidebar