Fixed recursion error for vlick and touchstart events