Refactoring of Navigation to remove code duplication for the same navigation functions.