added flexbox, currently broken in IE8.