bug in TouchEvents.js