[ticket/10741] Automatically resize textarea

Adjustments for script

PHPBB3-10741