using pagenavi plugin now for pagination