add smoth input field reposition