try to account for non-flexbox browsers a little better.