fixed the double scrollbar effect
Fixed #480 and marktext - though not working 100% perfect