Sync footer and header