sync all pages' headers and footers.