Fixed scroll jumping bug

the vertical scroll shouldn't jump about as you type now.