masonry now working properly.  had to place in settimeout.