Added hooks to set content offset and zoom scale of current page.