replaced load more button with pagination