updated time slider example