Added time period toggle controls.