makes textareas behave like text inputs