change modifier of isTouchingView method