Revert "legend in seperate accordion unit"

This reverts commit b54e835ac7f067484f1b4c8a822274d87a38ebe5.
Revert "Revert "legend in seperate accordion unit""

This reverts commit 61e40037797ac4d652b9083b6f4a556d9f2d251e.
Revert "Revert "Revert "legend in seperate accordion unit"""

This reverts commit b80ee53a575d6d2bdd33fd47e90798c2ce5b43b3.