def animator(progbar, count, tot_string=False, linenum=False, terminal=
    False, init=False, length=False, quiet=False, **kwargs):
    """
    Animates progress bar in unique position in terminal
    Multiple progress bars not supported in jupyter yet.
    """
    welcome_message = kwargs.pop('welcome_message', '')
    if welcome_message:
        welcome_message = welcome_message.replace('Interrogating corpus ... \n'
            , '')
        welcome_message = welcome_message.replace('Concordancing corpus ... \n'
            , '')
        welcome_message = welcome_message.replace('\n', '<br>').replace(' ' *
            17, '&nbsp;' * 17)
    else:
        welcome_message = ''
    if init:
        from traitlets import TraitError
        try:
            from ipywidgets import IntProgress, HTML, VBox
            from IPython.display import display
            progress = IntProgress(min=0, max=length, value=1)
            using_notebook = True
            progress.bar_style = 'info'
            label = HTML()
            label.font_family = 'monospace'
            gblabel = HTML()
            gblabel.font_family = 'monospace'
            box = VBox(children=[label, progress, gblabel])
            display(box)
            return box
        except TraitError:
            pass
        except ImportError:
            pass
        except AttributeError:
            pass
    if not init:
        try:
            from ipywidgets.widgets.widget_box import Box
            if isinstance(progbar, Box):
                label, progress, goodbye = progbar.children
                progress.value = count
                if count == length:
                    progress.bar_style = 'success'
                else:
                    label.value = '%s\nInterrogating: %s ...' % (
                        welcome_message, tot_string)
                return
        except:
            pass
    start_at = kwargs.get('startnum', 0)
    if start_at is None:
        start_at = 0.0
    denominator = kwargs.get('denom', 1)
    if kwargs.get('note'):
        if count is None:
            perc_done = 0.0
        else:
            perc_done = count * 100.0 / float(length) / float(denominator)
        kwargs['note'].progvar.set(start_at + perc_done)
        kwargs['root'].update()
        return
    if init:
        from corpkit.textprogressbar import TextProgressBar
        return TextProgressBar(length, dirname=tot_string)
    try:
        with terminal.location(0, terminal.height - (linenum + 1)):
            if tot_string:
                progbar.animate(count, tot_string, quiet=quiet)
            else:
                progbar.animate(count, quiet=quiet)
    except:
        if tot_string:
            progbar.animate(count, tot_string, quiet=quiet)
        else:
            progbar.animate(count, quiet=quiet)
