load entries for a page when page is clicked