           return
         registerObservers: () ->
           @resize()
-          setTimeout () =>
-            angular.element($window).triggerHandler('resize')
-          , 200
-          angular.element($window).on 'resize', () => @resize(); return
-          for spliter in @spliters
+          _debounceResize()
+          angular.element($window).on 'resize', () =>
+            @resize()
+            return
+          for spliter, spliter_idx in @spliters
             if spliter.collapsable
               spliter.collapse.on 'click', ((spliter) =>
                 (evt) =>
                   @toggleCollapse(spliter)
               )(spliter)
-            spliter.elem.on 'mousedown', ((spliter) =>
+            spliter.elem.on 'mousedown', ((spliter, spliter_idx) =>
               (evt) =>
                 spliter.from = evt[@sizeType.coord]
+                spliter.delta = 0
                 evt.preventDefault()
                 evt.stopPropagation()
+                @spliterIsActive = true
                 angular.element($window).on 'mousemove', (evt) =>
+                  @activeSpliterIdx = spliter_idx
+                  spliter.elem.css 'z-index', 99999
                   spliter.to = evt[@sizeType.coord]
                   pre = @items[spliter.preItemIdx]
                   next = @items[spliter.nextItemIdx]

            @setCollapseStyle(spliter.collapse, spliter.size, @layoutDirection, if spliter.collapsed then 'next' else 'pre')
          else
            @setCollapseStyle(spliter.collapse, spliter.size, @layoutDirection, if spliter.collapsed then 'pre' else 'next')
          angular.element($window).triggerHandler('resize')
          return
        resize: () ->
          @layoutSize = elem[0][@sizeType.offset]
          rest = Math.max(@layoutSize - @spliterSizeTotal - @fixedSizeTotal, 0)
          readyItemidxs = angular.copy @fixedItemIdxs

            child.css 'position', "absolute"
            child.css @sizeType.begin, 0
            child.css @sizeType.end, 0
            child.css 'overflow', 'auto'
            
            if angular.isUndefined child.attr('layout-spliter')
              item = {}
