Changed Masonry to be loaded via JS, fied overlapping images issue by waiting for images to load before initilising