used floats to solve firefox problems with flexbox