allow scrolling on an input and moving its text cursor