moved cards into li tags