adding touchstart event for warning