code: function(element) {
      this.$element    = $(element)
      this.carousel    = this.$element.data('bs.carousel')
      this.options     = $.extend({}, CarouselSwipe.DEFAULTS, this.carousel.options)
      this.startX      =
      this.startY      =
      this.startTime   =
      this.cycling     =
      this.$active     =
      this.$items      =
      this.$next       =
      this.$prev       =
      this.dx          = null
      this.sliding     = false
  
      this.$element
        .on('touchstart',        $.proxy(this.touchstart,this))
        .on('touchmove',         $.proxy(this.touchmove,this))
        .on('touchend',          $.proxy(this.touchend,this))
        .on('slide.bs.carousel', $.proxy(this.startSliding, this))
        .on('slid.bs.carousel',  $.proxy(this.stopSliding, this))
    }
docs: CAROUSEL CLASS DEFINITION =========================