clean up code and add scrolling virtical text for title