Issue 6520: implement panning and zooming [default to x zoom only; allow none, x, y, or both]