Added function for deleting timeline items