fixed sidebar resize bug, added toolbar