Add event listener for nav click