optimizations in masonry
added spinner