adding time slider example