small change to timegrid to account for some classes not showing up when clicking timegrid