render bboxes and style sidebar