add zoomtype, the user can zoom by dragging the mouse