add window.onresize