add tap gesture recognizer to show navigation bar