changes to home.php, fix for masonry and breakpoints