added time frame selection to the stats page