Implement collapsible, dynamic galleries