fix flexbox for ios