Allow search bar to be dismissed by clikcing outside of it