Redid the logic for disabling the buttons, again, since it would display incorrectly when there were only 2 pages total.
Also added some logic to hide the paging controls when you only have 0 or 1 pages, since you can't page anyway.
Using the value of the input field was giving inconsistent results. It would flip between the page you are going to and the page your on. Changed it to use the calculated current page instead.