Fix map feature sidebar

fixes #1397 on github.

html wasn't being sent from accordion endpoint to accordion dom element.

the accordion section was being told to collapse or show based on plot or resource, which is not correct. Fix it to go by whether there is accordion html.