Scrollbar resize

Hi,
I attach two files: template_scroll and my_scroll. In first one there is scrollbar and dynamic text that expand depending on stage height. (scroll appears when stage height decreases). So I’d like to get the same effect in the other file my_scroll where I have scroll with static text.

thanks in advance