This feature is called sticky lines. To turn it off, open Settings, go to Editor | General | Sticky lines and unselect Show sticky lines while scrolling.