adding style for card view