replace goto-top-or-bottom with move-to-window-line-top-bottom