fix flexbox for safari
buggy width in webkit