eliminate unnecessary links in sidebar