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