Fixes #17062. Fix autoscroll when navigating among focusable elements using TAB/SHIFT-TAB (desktop) or PREV/NEXT (mobile soft keyboard)
Fixes #14232. Do not change the view if not scrolling on the X axis. Thanks Sebastien Brunot (IBM CCLA)