complete the touch events 'tap' and 'swipe' of the tiny lib xPrototype