integrate hammerjs