                 holder      = current.find ".#{ o.opts.holder.class }"
                 hiddenItems = holder.find 'ul > li'
 
-                # set the state to decompressed
-                current.data o.stateKey, 'decompressed'
-
                 if hiddenItems.length > 0
                     hiddenItems = $ hiddenItems.get().reverse()
 

                .toString(36)
                .substring 7

        _this.getState = ->
            state = o.el.data o.stateKey

            return if typeof state is "undefined" then 'decompressed' else state

        _this.isCompressed = ->
            return if _this.getState() is 'compressed' then true else false



            o.resize = _.debounce(o.resize, o.opts.debounceTime) if o.opts.fixIEResize

            # bind the element to a custom event named compress
            o.el.on "compress.#{ pluginName }", (e) ->
                current = $ this
                items   = current.children 'li'
                holder  = items.filter ".#{ o.opts.holder.class }"

                if holder.length is 0
                    holder = ($ "<li class=\"#{ o.opts.holder.class }\"><a href=\"#\">#{ o.opts.holder.text }</a><ul class=\"clearfix\" /></li>").insertAfter items.first()
