Remove requirement of `.list-group-flush` when list groups are in panels

Fixes #8900