Firefox touchpad scrolling feels worse than other browsers by default because of the terrible default inertia and acceleration values. If you're not opposed to some tweaking, you can get them to feel much more like Safari.
Further reading: https://www.reddit.com/r/firefox/comments/63cd0m/how_to_get_...
Did you try them? Several of the settings labeled "mousewheel" also affect touchpads. I don't have a touchpad on hand to check but I remember general.smoothScroll.mouseWheel.durationMaxMS making a difference as well.