added zooming-with-focus feature