fix image and resize flexbox container