hide the collapse button if it's no subitems