allowed images to flex with container