added a reverse pagination for lists