click event on navbar