Only allow `vertical` and `horizontal` in `navbar`

When used outside of the `navbar` block, they will not render anything.