You’ll need custom Javascript code to achieve that. This would be out of our scope of support. It would be best to reach out to a developer or try asking for recommendations in our Facebook Group: https://www.facebook.com/groups/1113359788719597
For reference, you’ll need to detect the Scroll Event, then add a class for instance to the Nav, and with that class, hide it through CSS.