Sync pager state with the menu bar.