change items to flexbox