 
 
       #set the main element
-      @$el.css(
-        width: @maxSize.width
-        height: @items.first().outerHeight()
-        overflow: 'hidden'
-      )
+      @_setsMainElement()
 
       #Set relative widths
       @itemsWrapper.css(

      if $.event.special['swipe'] or $.Event 'swipe'
        @$el.on 'swipeleft swiperight swipeLeft swipeRight', (e) =>
         if e.type.toLowerCase() is 'swipeleft' then @next() else @prev()

    _enablesAutoPlay: =>
      setTimeout(=>

        width: "#{@itemsLength * 100}%"
      )

      #sets the styling for each slider item
      @_setsItems()

      #autoslide
      @_enablesAutoPlay() if @options.autoplay
