fixing input field movement