support for syncing pages, fixes #5