ontouchend: function () {
            var a, b, c, d, e, f = this.index, g = this.options.transitionSpeed, h = this.slideWidth, i = Number(Date.now() - this.touchStart.time) < 250, j = i && Math.abs(this.touchDelta.x) > 20 || Math.abs(this.touchDelta.x) > h / 2, k = !f && this.touchDelta.x > 0 || f === this.num - 1 && this.touchDelta.x < 0, l = !j && this.options.closeOnSwipeUpOrDown && (i && Math.abs(this.touchDelta.y) > 20 || Math.abs(this.touchDelta.y) > this.slideHeight / 2);
            this.options.continuous && (k = !1), a = this.touchDelta.x < 0 ? -1 : 1, this.isScrolling ? l ? this.close() : this.translateY(f, 0, g) : j && !k ? (b = f + a, c = f - a, d = h * a, e = -h * a, this.options.continuous ? (this.move(this.circle(b), d, 0), this.move(this.circle(f - 2 * a), e, 0)) : b >= 0 && b < this.num && this.move(b, d, 0), this.move(f, this.positions[f] + d, g), this.move(this.circle(c), this.positions[this.circle(c)] + d, g), f = this.circle(c), this.onslide(f)) : this.options.continuous ? (this.move(this.circle(f - 1), -h, g), this.move(f, 0, g), this.move(this.circle(f + 1), h, g)) : (f && this.move(f - 1, -h, g), this.move(f, 0, g), f < this.num - 1 && this.move(f + 1, h, g))
        },