How do I stop Firefox from going to a previous page when I swipe my trackpad right?

Firefox is set with the same feature that Chrome comes with where you can swipe left or right and it will change pages. It's a pretty annoying feature and I tend to accidentally switch pages. I looked around on super user and wasn't able to find an answer.

How do I disable that feature?


Go to about:config in the address line: enter image description here

In the search line, type swipe: enter image description here

Right click on either browser.gesture.swipe.left and and choose modify (sorry the menu is blurry in the screenshot): enter image description here

Delete the value and click OK: enter image description here