implemented simple zooming with z and Z keys