adjusted flexbox to work with browsers that don't use prefixed declarations