Left mouse button = zoom in, left button + shift = zoom out, press 'a' to fit image into frame. Pan by moving the mouse cursor towards the edges.