Add offscreen grid lines for panning.
Set limits on panning.