Added prev page and next page buttons