cards displaying, added events for handling clicked card