enabled the cart to be hidden when empty