checking hammerjs events