optimize navbar for mobile