Adding responsive classes for contact images on infinite scroll page