Revert "Fixes the problem where the cursor will jump to the last line"

The fix for mobile phones did not need to change `moveToMouse()`

This reverts commit eec2c92e23eb7638d805e1f0d19a0371c4518f15.
forgot to add scrollLeft for mobile