update and fix for masonry and twitter class