     $(@rightside).css style
 
     if title
-      @header.addClass('choco-show').css
+      addClass @header, 'choco-show'
+      $(@header).css
         'width':       toInt width
         'margin-left': '-' + toInt(left) + 'px'
         'margin-top':  '-' + toInt(top + headerHeight) + 'px'

    method = @options.actions[container] if @options.actions[container] in existActions

    if method
      verify = @[container].getAttribute 'class'

      addHandler @[container], 'click', (event) =>
        @[method]() if hasClass event.target, verify

    thumbnails = headerHeight = 0

    if @dimensions.thumbnails isnt false and not hasClass @thumbnails, 'choco-hide'
      @dimensions.thumbnails = @thumbnails.offsetHeight if @dimensions.thumbnails is 0
      thumbnails = @dimensions.thumbnails

    headerHeight = @dimensions.header if title
