fix the top navigation layout