Firefox gesture navigation not working

I dual boot EndeavourOS (KDE with X.Org) and KDE Neon 20.04 (X.Org) in my laptop.

In KDE Neon, gesture navgation works, but in EndeavourOS, it is not working.

How to enable gesture navigation in EndeavourOS?