better click logic on menu