use event dbltap instead of dblclick to make it work fine on mobile (android).