Small fix which prevents Chrome and IE from scrolling up after pasting content

fix works fine on Chrome, semi-fine on IE (screen flickers up to the top and then back again quickly, but noticeably)