$(".spanForImg").each(function(index) {
                    if ($(this).data("order") == nb) {
                      $.scrollTo($(this).closest("tr")[0], 800, {queue:true});
                    }
                  });