Replace all paging code with new control.