animations to line opacity