Unable to toggle natural scrolling direction
Use defaults write -g com.apple.swipescrolldirection -bool NO
If it's automatically checking itself in the GUI it's because you have a invalid value set, IE: -int 0/1 using the BOOL value will restore functionality.
I've found the only way is to restart the mac after you run one of those commands. That sets it for me.