To preview code without actually scrolling to it, hover your mouse pointer over a warning, error stripe or just some section of source code on the scroll bar, and you will see a lens:

To disable the lens, clear the checkbox in the context menu of the code analysis marker:
