(Fvertical_motion): Use window arg, not selected_window.