dragging,zooming,dblclick and viewport tests
zooming and dragging around