refactored top-navigation to own view