Set max height for horizontal images on mobile