F4 hide empty cart

I hid an empty cart and also added some jquery stuff to show it when there is stuff inside. Also made a helper method for that effect.