open accordion panels need to be closed twice to actually close

The first time I try to close the "find trails" it does the animation to close, but then stays open. I need to hit it again to actually make it close. Same for list view.