Kernels post 5.0.2 breaks XPS 9360 trackpad

Tap to click does not work and scrolling direction does nothing

Rather the scrolling direction option does not change the scrolling direction

Have a look here

I am not getting any errors when i run dmesg | grep -i psmouse and the trackpad works fine with 5.0.2. This bug occurs with 5.1 and I'm able to reproduce it