make zooming possible with a flag