The following snippet will switch the classical desktop hover events to touch events.

Snippet Source/Credit: jbkflex.wordpress.com