Created legend for collapsible