added zooming functionality