fix tile templates
add flexbox tile CSS
fixup "add flexbox tile CSS"

adds the same hack for tile spacing already used in the fallback
Merge pull request #757 from xi/feature-flexbox-tiles

flexbox tiles