edited text and implementing hammer.js