function stopResize(e) {

    
    html.classList.remove('sidebar-resizing');
    window.removeEventListener('mousemove', resize, false);
    window.removeEventListener('mouseup', stopResize, false);

}
//on mouseup remove windows functions mousemove & mouseup
on mouseup remove windows functions mousemove & mouseup
on mouseup remove windows functions mousemove & mouseup
function stopResize(e) {
    html.classList.remove('sidebar-resizing');
    window.removeEventListener('mousemove', resize, false);
    window.removeEventListener('mouseup', stopResize, false);
}
function stopResize ( e ) { html . classList . remove ( 'sidebar-resizing' ) ; window . removeEventListener ( 'mousemove' , resize , false ) ; window . removeEventListener ( 'mouseup' , stopResize , false ) ; }
on mouseup remove windows functions mousemove & mouseup
on mouseup remove windows functions mousemove & mouseup