Optimizing main navigation semantics