Redraw histogram on resize