Fix scrolling in search sidebar (fixes #353)