zoom if maximise and dimensions given