added destroy function to Timeline