add hide / show functionality to global nav while scrolling

required for Global Navigation AB tests