added check for home/links to hide detail/icon view toggle if none