adjust the timeframe to correspond to the period chosen shen the drop down is displayed