Move hidden input around to match position of cursor