optimize navbar for 1024 px width