XSL utility template for collapsing panels.