Fixed page selection in admin panel

fixed the page selections so it will only show a few pages at a time
rather than every single page available also has next and previous
buttons