refactored gradient edit and timevalue edit view