Use waypoints to animate global nav

* Resolve merge style conflicts
* Refactor JS with data-attributes
* Make comments after PR review