Support Mobile Safari by toggling hover class on click