Allow vertical images to resize and center, also resize horizontal images that are smaller than frame