Max height to expand

It is very often needed to set maximum height to expand textarea. very clean way is simply set `max-height` css property to textarea. no need for additional parameters.

This change will stop adding text to hidden `pre/div` if we have reached the height limit