Modified to use gesture recognizers and NSURLConnection