Optimize navigation on mobile.