updated size of selected_time window