set EnableViewportScale to true for enabling pinch to zoom.