trying to debug why touchend does not always trigger