prevents smaller pictures from stretching