The minimum scrollHeight of a textarea is always going to be the height. To get an accurate scrollHeight, set the height to 1 first.
h.height(1).height(h[0].scrollHeight);
Auto Sync....
Select Categories