mbTrim: loop fix
Simple pagination now works

Also mbTrim reworked: now it's slower, but checks the whole string
Auto scrolling works!