Conditional displaying for groups and sections