got rid of switch temporarily
fixed scrolling issue on text container