Call resize instead of redraw when visualization is resized due to showing/hiding sidebar.