working our pagination in get library