redraw on resize.