Fix click event (issue with preventDefault and hammer.js)