Added time/period toggle for grid