animate gradient on line after double click working