glw: Fix navigation to end of list in some cases

Fixes #2158