Tweaked pagination so that the Previous button would show and hide properly

Working on actually making it a button now, rather than static text, along
with putting them before and after the page numbers