Update pagination.php

Rename the controller to sample.php to pagination.php
Rebuilded the controller, make that simplier.