implemented ui elements for time periods and scale
mmm I forget what I did