smooth scroll only ref_links, fix nested enumerations