Removed "Prev" button from first page and "Next" button from last page