added next page button to view page. working on 12345 pages