Added buttons to collapse/expand custom hierarchies view