updating sidebar to only output links from current section (e.g. identity)