create sidebar for infobox