added pagination to a Collections and Lookup view