Added tap gesture recognizer to select lines