 
 next_person = ->
   index += 1
-  index = 0 if index >= shuffled_people.length
+  if index >= shuffled_people.length
+    index = 0
+    loop_count += 1
+    shuffled_people = _.shuffle shuffled_people
   shuffled_people[index]
 
 display_person = (results_el, person) ->


$('#chooser').addClass('disabled').attr('disabled': true) if group?.lists.length is 0

$('#chooser').click -> 
  $('.displayed').removeClass('displayed') 
  $('.no-one').show() 
  choose_name(0)



    setTimeout ->
      choose_name results_index + 1 if results_index + 1 < group.lists.length
    , 500

tick = (results_el, callback) ->
  display_person results_el, next_person()

  delay *= 1.1 if loop_count is 1 and delay < 50
  delay *= 1.3 if loop_count >= 2

  if delay > limit
    highlight_choice results_el
    callback()
    return

