def _scramble_pop(d):
    """
    Reorder the colors as [first, last, second, second but last, ...]
    """
    try:
        while True:
            yield d.popleft()
            yield d.pop()
    except IndexError:
        pass
