http://www.codexworld.com/ajax-pagination-in-codeigniter-framework/