Fixed gallery grouping