messages expand and collapse is done