fix for IE11 layout bug

Fixed bug relating to flexbox and max-widths in IE. There are no max-widths in the css so hopefully this is the right fix.