A few comments and fix the gesture recognizer so that the search bar can be dismissed