Added support for zooming.