fix nav bar if section has exactly one sub-section