delete data from timeline functionality