a mixin for creating masonry with react.js