ui/ncurses: Ensure that the selected menu item is visible