Pagination in File and E-Library tabs made to work with AJAX