implemented side bar