side bar show parent level links, removed commented code in header, changed function child loop level