Add display for currentPage and totalPages loaded. Refactor button code a little.