fixing chrome animation bug