       if $.event.special['swipe'] or $.Event 'swipe'
         @$el.on 'swipeleft swiperight swipeLeft swipeRight', (e) =>
          if e.type.toLowerCase() is 'swipeleft' then @next() else @prev()
+
+    _setsItems: =>
+      @items.css
+        float: 'left'
+        width: "#{100 / @itemsLength}%"
+
+    _setsMainElement: =>
+      @$el.css
+        width: @maxSize.width
+        height: @items.first().outerHeight()
+        overflow: 'hidden'
 
     _enablesAutoPlay: =>
       setTimeout(=>

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

      @items.css(
        float: 'left'
        width: "#{(100 / @itemsLength)}%"
      )

      #autoslide
      @_enablesAutoPlay() if @options.autoplay



      #set the main element
      @_setsMainElement()

      #Set relative widths
      @itemsWrapper.css(
