Adding support for pinch zoom