Scroll to correct place when paste is done

Scroll to content when a paragraph has a huge content, was not correct. It scroll always to the beginning of the content, not to the the last text.