improved the way CardDisplayPanel displays cards