clean up prev page next page buttons