 
 	"click .message img": (e, t) ->
 		Meteor.clearTimeout t.touchtime
-		if isSocialSharingOpen is true
+		if isSocialSharingOpen is true or touchMoved is true
 			e.preventDefault()
 			e.stopPropagation()
 
 	"touchend .message": (e, t) ->
 		Meteor.clearTimeout t.touchtime
-		if isSocialSharingOpen is true
+		if isSocialSharingOpen is true or touchMoved is true
 			e.preventDefault()
 			e.stopPropagation()
 			return
 
-		if e.target and e.target.nodeName is 'A'
+		if e.target and e.target.nodeName is 'A' and /^https?:\/\/.+/.test(e.target.getAttribute('href'))
 			if cordova?.InAppBrowser?
 				cordova.InAppBrowser.open(e.target.href, '_system')
 			else
 				window.open(e.target.href)
 
 	"touchmove .message": (e, t) ->
+		touchMoved = true
 		Meteor.clearTimeout t.touchtime
 
 	"touchcancel .message": (e, t) ->

			if window.plugins?.socialsharing?
				isSocialSharingOpen = true

				if e.target and e.target.nodeName is 'A'
					if message.attachments?
						attachment = _.find message.attachments, (item) -> return item.title is e.target.innerText
						if attachment?

		if $(e.currentTarget).hasClass('system')
			return

		if e.target and e.target.nodeName is 'A' and /^https?:\/\/.+/.test(e.target.getAttribute('href'))
			e.preventDefault()
			e.stopPropagation()

