Pagination - changed to class instead of id