prevent chrome bug with animation