Sidebar panels keep opening when scrolling with the trackpad

Is it possible to add an option to stop the Project Sidebar and Related Panel from opening with trackpad gestures? They still keep opening unintentionally when scrolling.

I believe a sideways swipe with two fingers will open and close them.

I don’t think there is a way to disable this, but will take it along.

If it only responded to sideways swipes, but it’s too sensitive and reacts to almost any off-axis movement.
Thanks!