add line animation