only run accordion styling code if there is an accordion on the page