fixes #9815: proper alignment of navbar nav if first child