replaced manual zooming with simple automatic zooming / scaling