change the Layout for flex move width and height in auto mode