Updated tap gesture recognizer so it only recognizes taps on links