Adding function's for Hammer.js (not finished)