fix footnotes within lists to toggle display correctly