Tidies Masonry layout, adds transition effect to Masonry blocks.