Revert "When hiding the view/sort controls, collapse the dropdown menu, too. Fixes #1215."

This reverts commit 20dca37ee333684eb8f86bee722e4d308acea424.
Much simpler fix for #1215 than 20dca37