title: moving rows with uncheck checkbox needs to begin from a specific row
body: <p>I have got a script from here and now I need some adjustment.
  The problem is when I have run the script all the rows above row 11 turning from dynamic into static the formulas are just gone.
  I can't figure out why the script doesn't read and move below row 11.</p>
  
  <pre><code>function moveRows() {
    var sss=SpreadsheetApp.getActive();
    var tss=SpreadsheetApp.openById("Target Spreadsheet Id"); 
    var ssh=sss.getSheetByName('Source Sheet Id');
    var srg=ssh.getDataRange();
    var svA=srg.getValues();
    var tsh=tss.getSheetByName('Target Sheet Id');  
    var oA=[];//output array for rows that meet criteria
    for(var i=svA.length-1;i&gt;12; i--) {
      if (svA[i][21]==true) { //column 22
        oA.push(svA[i].slice()); //this copies the row array
        svA[i][21]=false; //uncheck checkbox    
      }
    }
    tsh.getRange(tsh.getLastRow()+1,1,oA.length,oA[0].length).setValues(oA);//load target sheet with rows with check boxes checked       
    srg.setValues(svA);//save values in source sheet
  }
  </code></pre>