reorder layout for navigation