Automatically resize details textarea