[ux] clicking on line in file view scrolls to that line
If you are looking at a changeset and click on a line to select it, the line is highlighted and the location is changed to link to the line.
If you are looking at a file and click a line in the same way, it does the above and scrolls to that line so that it's at the top.
Both of them should work the same way.
If the changeset view is able to prevent scrolling, then the file view should be able to do the same.
[ see https://internal-code.rhodecode.com/rhodecode-momentum/files/2aeb654e2ef689756c0b04650b94875a920f7a88/rhodecode/public/js/src/rhodecode.js#L153 ]