glw: Wrap to other end when navigating

Fixes #576