use scrollwheel to zoom and use middle click to reset pan