handle class names of responsive images