Angularjs with infinit scrolling and masonry tile layout