added animation to lines