got pagecontrol to work