Updated footer navigation logic