
Look up the next page correctly for the overshoot coordinates, given the text direction. We don't need to look whether there is a next page either, as goToPage() checks that it's the case. Fixes: https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3778 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1734>