fixed onTouchEnd handler.