rearrange ui for groups section