Add page length control