From http://code.jelmerdemaat.nl/2012/perfectly-justified-css-grid-technique-using-inline-block/