remove window.scrollTop in positioning the input