fixes jquery issue that sometimes an event isnt fired when touch occurs outside the element