added hammer.js and drag functions