Resizing and better 'guessing' for visualizer