Expandable groups and accordions

Adds expandable group patterns, including an accordion-style option (only one open at a time).
Ah, great! Made the change.