support for mobile devices that cannot do hover

Devices did not trigger the hover event so the menu was useless on them. Now it has a click function to override the hover.