textarea: implement _width_available #1160

Closes #1160 
and here