added pagination to quotes