Updated to support the rewritten Hammer.js (v1.0.1+).