added a quick image-maximizing feature