Cardslib: Rework expanded/collapse feature on listviews

Change-Id: I2a8d475439b92df75fa4442c1d678c0b86ddedfe