time slider code
time slider