Pagination succesful with ugly links