directive to set the height of a textarea to fit its content