boxSidebar function

Create a sidebar for a box