fixed #49:Adding pagination on the admin page for the slides and the categories