hide ref image in toc if none for section