added timeView object to handle toggles between intervals of time