adds touch support to prototype wave dragging in numerics.js