Updated time slider with range value as variable