fixes to turn off animation for certain browsers