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.