Expandable text box- read more button doesn't move with text

I am also having a problem with the big empty space under the ‘less’ text. The read more button works fine, but when the full text is collapsed, there’s a huge gaping hole. The code works fine on one of my pages, but after copying and pasting to the second page, and changing the number of characters and the text box ID# only, here is the code with corresponding result