if (typeof window !== 'undefined') {
        window.removeEventListener('mouseup', this.__onResizeStop);
        window.removeEventListener('touchend', this.__onResizeStop);
        window.removeEventListener('mousemove', this.__onResize);
        window.removeEventListener('touchmove', this.__onResize);