dynamically resizing titles