add click event to show tooltip for tablets