openstreetmap/openstreetmap-website — pull request #363 by danstowell (2013-07-20 13:43:07+00:00)
Title: Search sidebar: don't scroll heading ('close' stays visible)

Here's the problem:
(a) On the OSM homepage, search for something that has many results (e.g. "pub")
(b) Scroll down in the list of results.
(c) Now decide you want to close the search results sidebar. Unfortunately, the "Close" link is now scrolled out of reach, and you have to tediously scroll back up just to close the thing.

This patch changes behaviour so it's the content (#sidebar_content) that scrolls, rather than the outer container (#sidebar), meaning that the heading block stays visible.