Expand or collapse all cards in a list