added log output for IllegalStateException in onTouchEvent()