add a comment that this is to handle the case when collapse is not nested within an accordion