Redraw table on resize event