fix scrollspy for three levels