<div class="first"></div>
var element = $('.first').get(0);
var hammertime = new Hammer(element);
hammertime.on('pan', function(e) {
var tapX, tapY;
tapX = e.center.x;
tapY = e.center.y;
this.style.left = tapX;
this.style.top = tapY;
});