Treating max-height
cherry picked from https://github.com/rcsilva83/Autogrow-Textarea/commit/a0616cc076441f86c920f4ef712a656b06ae6651
bug fix : make it work properly even if max-height propertiy is not defined.