get masonry math to work