code: function triggerTouch(touches, element, type) {
              var touchlist = [],
                  event = document.createEvent('Event');
  
              event.initEvent('touch' + type, true, true);
  
              touchlist.identifiedTouch = touchlist.item = function(index) {
                  return this[index] || {};
              };
  
              touches.forEach(function(touch, i) {
                  var x = Math.round(touch.x),
                      y = Math.round(touch.y);
                  touchlist.push({
                      pageX: x,
                      pageY: y,
                      clientX: x,
                      clientY: y,
                      screenX: x,
                      screenY: y,
                      target: element,
                      identifier: i
                  });
              });
  
              event.touches = (type == 'end') ? [] : touchlist;
              event.targetTouches = (type == 'end') ? [] : touchlist;
              event.changedTouches = touchlist;
  
              element.dispatchEvent(event);
              config.showAction(touches);
          }
docs: trigger a touchevent
  @param touches
  @param element
  @param type