fixes #9876: avoid dropdowns in navbar examples to prevent overlap