Add page control

add page control.