use flexbox instead of weird directive and fix some wrapping

If we're going mobile only for now let's just punt on ie9 compatibility until we decide that this doesn't work.