cache top bar so we dont have to compute stats on each page