added cardView and dynamic card layout