Expanding menu_slider tutorial

I modified the menu_slider from the Flash MX tutorial section, so it is vertical in nature and added another slider on the opposing side and replaced the blue boxes with text. I would like to know how to make it so both sliders hugged the text horizontally to fit the length of text. For example:

{home}
{about us}

vs.

{ home }
{about us}

Thanks.