added zooming support