Fix scroll resetting in refresh() method
Fix scroll resetting in refresh() method

Closes #987

wbinnssmith/CodeMirror,Jisuanke/CodeMirror,CartoDB/CodeMirror,Ermlab/CodeMirror,jkaplon/CodeMirror,rasata/CodeMirror,shiren/CodeMirror,kolya-ay/CodeMirror,Dominator008/CodeMirror,hccampos/CodeMirror,flyskyko/CodeMirror,antimatter15/CodeMirror,explorigin/CodeMirror,jansel/CodeMirror,ssxxue/CodeMirror,ejgallego/CodeMirror,DustinH/CodeMirror,namin/CodeMirror,INTELOGIE/CodeMirror,GerHobbelt/CodeMirror2,isdampe/CodeMirror,qweasd1/CodeMirror,Jisuanke/CodeMirror,philuchansky/CodeMirror,rasata/CodeMirror,d0liver/CodeMirror,axter/CodeMirror,hackmdio/CodeMirror,systay/CodeMirror,Carreau/CodeMirror,elisee/CodeMirror,fpco/codemirror,kerabromsmu/CodeMirror,fmoliveira/CodeMirror,anthonygego/CodeMirror,pabloferz/CodeMirror,fivetran/CodeMirror,anthonygego/CodeMirror,dbarnett/CodeMirror,kangkot/CodeMirror,schanzer/CodeMirror,jochenberger/CodeMirror,dbarnett/CodeMirror,namin/CodeMirror,TechnicalPursuit/CodeMirror,jayaprabhakar/CodeMirror,qiankun007/CodeMirror,dbarnett/CodeMirror,rustemferreira/CodeMirror,djadmin/CodeMirror,tpphu/CodeMirror,dperetti/CodeMirror,elisee/CodeMirror,ejgallego/CodeMirror,bfrohs/CodeMirror,melpon/CodeMirror,amshali/CodeMirror,alur/CodeMirror,cintiamh/CodeMirror,mtaran-google/CodeMirror,symbla/CodeMirror,InternetGuru/CodeMirror,explorigin/CodeMirror,Aliccer/CodeMirror,dperetti/CodeMirror,AlanWasTaken/codemirror,michaelerobertsjr/CodeMirror,trumanliu/CodeMirror,adobe/CodeMirror2,crazy4chrissi/CodeMirror,fmoliveira/CodeMirror,loopspace/CodeMirror,webida/CodeMirror,ZombieHippie/CodeMirror,sanyaade-iot/CodeMirror,vincentwoo/CodeMirror,pjkui/CodeMirror,symbla/CodeMirror,trumanliu/CodeMirror,EasonYi/CodeMirror,sourcelair/CodeMirror,adobe/CodeMirror2,isdampe/CodeMirror,supriyantomaftuh/CodeMirror,nightwing/CodeMirror,schanzer/CodeMirror,cben/CodeMirror,increpare/CodeMirror,qiankun007/CodeMirror,anthonygego/CodeMirror,rrandom/CodeMirror,michaelerobertsjr/CodeMirror,philuchansky/CodeMirror,mightyguava/CodeMirror,abdelouahabb/CodeMirror,jpolitz/CodeMirror,tpphu/CodeMirror,rrandom/CodeMirror,elisee/CodeMirror,karthikeyansam/CodeMirror,ficristo/CodeMirror,jpolitz/CodeMirror,karevn/CodeMirror,belph/CodeMirror,axter/CodeMirror,KamranMackey/CodeMirror,thomasjm/CodeMirror,mtaran-google/CodeMirror,SidPresse/CodeMirror,amshali/CodeMirror,thomasjm/CodeMirror,amsul/CodeMirror,angelozerr/CodeMirror,ksanaforge/CodeMirror,ThebingServices/CodeMirror,grzegorzmazur/CodeMirror,codio/CodeMirror,systay/CodeMirror,SidPresse/CodeMirror,matthewbauer/CodeMirror,melpon/CodeMirror,nightwing/CodeMirror,happibum/CodeMirror-main,loopspace/CodeMirror,TDaglis/CodeMirror,sgoo/CodeMirror,kk9599/CodeMirror,Navaneethsen/CodeMirror,djadmin/CodeMirror,jpolitz/CodeMirror,morrisonwudi/CodeMirror,increpare/CodeMirror,cben/CodeMirror,abdelouahabb/CodeMirror,TechnicalPursuit/CodeMirror,ZombieHippie/CodeMirror,trumanliu/CodeMirror,kerabromsmu/CodeMirror,ksanaforge/CodeMirror,NumbersInternational/CodeMirror,sekcheong/CodeMirror,gkoberger/CodeMirror,d0liver/CodeMirror,wbinnssmith/CodeMirror,GerHobbelt/CodeMirror2,ssxxue/CodeMirror,buchslava/CodeMirror,webida/CodeMirror,jhnesk/CodeMirror,davidpham87/CodeMirror,bocharsky-bw/CodeMirror,mightyguava/CodeMirror,mihailik/CodeMirror,Icenium/CodeMirror,Dominator008/CodeMirror,skylarkcob/CodeMirror,kuangyeheng/CodeMirror,r7kamura/CodeMirror,apatawari/CodeMirror,rustemferreira/CodeMirror,r7kamura/CodeMirror,karevn/CodeMirror,xeronith/CodeMirror,DustinH/CodeMirror,bocharsky-bw/CodeMirror,pjkui/CodeMirror,nightwing/CodeMirror,morrisonwudi/CodeMirror,karevn/CodeMirror,Navaneethsen/CodeMirror,jhnesk/CodeMirror,pinbe/CodeMirror,ficristo/CodeMirror,Ermlab/CodeMirror,ashmind/CodeMirror,thomasjm/CodeMirror,notepadqq/CodeMirror,mizchi/CodeMirror,bgrins/CodeMirror,kuangyeheng/CodeMirror,hccampos/CodeMirror,qiankun007/CodeMirror,SidPresse/CodeMirror,crazy4chrissi/CodeMirror,wingify/CodeMirror,vanloswang/CodeMirror,manderson23/CodeMirror,gkoberger/CodeMirror,sourcelair/CodeMirror,skylarkcob/CodeMirror,sekcheong/CodeMirror,jessegrosjean/CodeMirror,sanyaade-iot/CodeMirror,ssxxue/CodeMirror,morrisonwudi/CodeMirror,vincentwoo/CodeMirror,rasata/CodeMirror,kerabromsmu/CodeMirror,vanloswang/CodeMirror,bgrins/CodeMirror,happibum/CodeMirror-main,axter/CodeMirror,pjkui/CodeMirror,nawroth/CodeMirror,loopspace/CodeMirror,wingify/CodeMirror,shiren/CodeMirror,InternetGuru/CodeMirror,dudb/CodeMirror,dperetti/CodeMirror,KamranMackey/CodeMirror,qweasd1/CodeMirror,amireh/codemirror,supriyantomaftuh/CodeMirror,ejgallego/CodeMirror,NeZaMy/CodeMirror2,bluesh55/CodeMirror,buchslava/CodeMirror,fivetran/CodeMirror,belph/CodeMirror,Aliccer/CodeMirror,pinbe/CodeMirror,AlanWasTaken/codemirror,matthewbauer/CodeMirror,MarcelGerber/CodeMirror,agendor/CodeMirror,dudb/CodeMirror,Aliccer/CodeMirror,sanyaade-iot/CodeMirror,apatawari/CodeMirror,kolya-ay/CodeMirror,kangkot/CodeMirror,kk9599/CodeMirror,EasonYi/CodeMirror,bgrins/CodeMirror,sgoo/CodeMirror,jessegrosjean/CodeMirror,codio/CodeMirror,alur/CodeMirror,Jisuanke/CodeMirror,ThebingServices/CodeMirror,kevinushey/CodeMirror,jochenberger/CodeMirror,InternetGuru/CodeMirror,camellhf/CodeMirror,schanzer/CodeMirror,notepadqq/CodeMirror,tpphu/CodeMirror,MarcelGerber/CodeMirror,sourcelair/CodeMirror,fmoliveira/CodeMirror,bluesh55/CodeMirror,crazy4chrissi/CodeMirror,cintiamh/CodeMirror,djadmin/CodeMirror,amshali/CodeMirror,happibum/CodeMirror-main,symbla/CodeMirror,karthikeyansam/CodeMirror,Icenium/CodeMirror,davidpham87/CodeMirror,codio/CodeMirror,webida/CodeMirror,NumbersInternational/CodeMirror,flyskyko/CodeMirror,wingify/CodeMirror,gkoberger/CodeMirror,flyskyko/CodeMirror,notepadqq/CodeMirror,Icenium/CodeMirror,pinbe/CodeMirror,Dominator008/CodeMirror,ashmind/CodeMirror,xeronith/CodeMirror,INTELOGIE/CodeMirror,AlanWasTaken/codemirror,ZombieHippie/CodeMirror,NeZaMy/CodeMirror2,mizchi/CodeMirror,antimatter15/CodeMirror,kk9599/CodeMirror,hackmdio/CodeMirror,abdelouahabb/CodeMirror,karthikeyansam/CodeMirror,adobe/CodeMirror2,philuchansky/CodeMirror,systay/CodeMirror,mizchi/CodeMirror,davidpham87/CodeMirror,kevinushey/CodeMirror,supriyantomaftuh/CodeMirror,sekcheong/CodeMirror,joshterrell805-historic/CodeMirror,rrandom/CodeMirror,camellhf/CodeMirror,MarcelGerber/CodeMirror,Navaneethsen/CodeMirror,d0liver/CodeMirror,isdampe/CodeMirror,vanloswang/CodeMirror,bfrohs/CodeMirror,mihailik/CodeMirror,buchslava/CodeMirror,angelozerr/CodeMirror,r7kamura/CodeMirror,manderson23/CodeMirror,hackmdio/CodeMirror,vincentwoo/CodeMirror,INTELOGIE/CodeMirror,Carreau/CodeMirror,jansel/CodeMirror,xeronith/CodeMirror,ficristo/CodeMirror,jayaprabhakar/CodeMirror,ashmind/CodeMirror,increpare/CodeMirror,TDaglis/CodeMirror,manderson23/CodeMirror,fpco/codemirror,apatawari/CodeMirror,mightyguava/CodeMirror,jessegrosjean/CodeMirror,skylarkcob/CodeMirror,shiren/CodeMirror,bluesh55/CodeMirror,antimatter15/CodeMirror,grzegorzmazur/CodeMirror,mihailik/CodeMirror,jkaplon/CodeMirror,ThebingServices/CodeMirror,namin/CodeMirror,Allenice/CodeMirror,amsul/CodeMirror,belph/CodeMirror,rustemferreira/CodeMirror,KamranMackey/CodeMirror,CartoDB/CodeMirror,bocharsky-bw/CodeMirror,camellhf/CodeMirror,matthewbauer/CodeMirror,TechnicalPursuit/CodeMirror,grzegorzmazur/CodeMirror,michaelerobertsjr/CodeMirror,kuangyeheng/CodeMirror,joshterrell805-historic/CodeMirror,DustinH/CodeMirror,NumbersInternational/CodeMirror,TDaglis/CodeMirror,nawroth/CodeMirror,qweasd1/CodeMirror,NeZaMy/CodeMirror2,mtaran-google/CodeMirror,bfrohs/CodeMirror,jkaplon/CodeMirror,Allenice/CodeMirror,agendor/CodeMirror,jayaprabhakar/CodeMirror,pabloferz/CodeMirror,pabloferz/CodeMirror,alur/CodeMirror,agendor/CodeMirror,webida/CodeMirror,dudb/CodeMirror,nawroth/CodeMirror,cintiamh/CodeMirror,EasonYi/CodeMirror,melpon/CodeMirror,Allenice/CodeMirror,kangkot/CodeMirror,hccampos/CodeMirror,ksanaforge/CodeMirror