I’ve combined a jquery 'scroll' code with jquery 'slide toggle' code ( http://www.w3schools.com/jquery/tryit.asp?filename=tryjquery_slide_toggle )
The 'scroll' code slides a tab/bar horizontally across the web page, when the page is scrolled down.
And when you 'click' the text on the tab/bar, the 'slide toggle' code makes a vertical 'drop-down section' appear, successfully, (and the vertical 'drop-down section' slides back up when you 'click' the text again).
And when you scroll up the web page, the 'scrolled tab/bar' slides back to hide.
However, I'd like the vertical 'drop-down section' to automatically slide back up, when the scrolled tab/bar slides back to hide. (Currently, if you scroll down the page again, the vertical 'drop-down section' is open(dropped-down) if the text hasn't been manually clicked to close it).
Here's the code: