JS to fix a navigation bar to the top of the window on scroll. For websites with a header parent div and a navigation bar child div.