       speed = if callback then 5 else @options.speed | 0
       easing = @options.easing
       obj =
-        height: target.outerHeight()
+        height: target.outerHeight() + 30
 
       if not @itemsWrapper.queue('fx').length
-        @$el.find('.dot').eq(index).addClass('active').siblings().removeClass('active')
+        @$el.find(".#{@options.paginationItemClass}").eq(index).addClass('active').siblings().removeClass('active')
         @$el.animate(obj, speed, easing) and @itemsWrapper.animate($.extend(
           left: "-#{index}00%", obj), speed, easing, (data) =>
             @currentItemIndex = index

  defaults =
    speed: 500
    delay: 3000
    init: 0
    pause: false
    loop: false
    enableKeys: false
    dots: false
    arrows: false
    prev: '<<'
    next: '>>'
    fluid: false


        @resize = setTimeout(=>
          style =
            height: @items.eq(@currentItemIndex).outerHeight() + 30
          width = @$el.outerWidth()

          @itemsWrapper.css style
