tweaking approach to visualizer left-right resize