added a new svg detect that also adds no-svg class