animation end state fix for older chrome, hopefully