Expandable groups and accordions

Adds expandable group patterns, including an accordion-style option (only one open at a time).