setting constraints on textarea input on mobile