fixing width/height percentage issue with flexbox in webkit/firefox18