Initial work on auto zooming