resizing popup visualization