fix condition in add-to-cart-animation