fixed navbar layout problem with large number of environments