fixing positioning for grouping cards