At idle, the engine needs additional spark advance in order to fire that lean, diluted mixture earlier in order to develop maximum cylinder pressure at the proper point, so the vacuum advance can (connected to manifold vacuum, not "ported" vacuum - more on that aberration later) is activated by the high manifold vacuum ...