$('.' + settings.selectedClass, parent).filter(function() {
          return $(this).data('i') < myIndex;
        }).reverse().each(function() {