update page position