adding max height for masonry boxes (500px)