text concatenation and hide/show function improved

fixed bug where expanded text would collapse upon scrolling in mobile.