started navbar logic