added stupid-simple touch event detection