added page numbers and progress bar.