Improved remove timeline functionality