only draw graphs in angular when not collapsed, perf improvement