fix aspect ratio for images in sliders