public void scrollViewportTo(int row) {

		int offset = getViewportOffset(row);
		if (offset < 0) {
			moveViewportUp(-offset, false);
		}
		else if (offset > 0) {
			moveViewportDown(offset, false);
		}
	}
Moves the viewport (top) to the given row in the current view.

@param row
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/logviewer/ui/ViewportUtility.java