show/hide cart based on contents and adding to cart