animates connection lines