Adding pagination
Fixed a next, prev link