added page numbers and progress bar. close #4.