def METHOD_NAME(diff: int, event: tkinter.Event[tkinter.Misc]) -> None:
    # It's possible to trigger this somewhere else than at top of tab manager
    if event.y < 50:
        select_left_or_right(diff)