Prevent previous page / next page navigation on horizontal scrolling

When using a trackpad, and scrolling horizontally in the dbml editor, getting back at the far left of the editor sometimes may trigger a previous page gesture navigation in the browser.
Same behavior when scrolling to the far right, with the next page navigation.