Fixed masonry css for desktop and mobile