Trying to implement pagination in contact list