GoodNotes 5 supports both scrolling directions: horizontal and vertical.
Set the default scrolling direction
While working on a page, tap the More (...) icon in the top-right corner > Scrolling Direction.
You can also tap the Gear icon in the top-right corner of the Library view > Settings > Document Editing > Scrolling Direction.