Added support for zooming in and out