clear window.onresize in destroy()