check for old and new flexbox support