update example of setting pagecontrol pos.