updated pagination to go the opposite way