Handle navigation click event