Test graph panning