Implement endless scroll with jQuery Masonry and Will Paginate