Move search view into onCreateView, fixes #365