Fix for "No 'selected node' or 'hover' highlight"

Fix for "No 'selected node' or 'hover' highlight when rendering indexmenu in a sidebar"
https://github.com/samuelet/indexmenu/issues/84