Updated to work with knockout v3.1.0 and hammer.js v2.0.2.