showing card information when you select a card from the table