void PerformScrollThumpPosition(long pos)
{
// Bug fix: Scroll to end, do not scroll to end
int difference = (_scrollVmax > 65535) ? 10 : 9;
if (ToScrollPos(pos) == ToScrollMax(_scrollVmax) - difference)
pos = _scrollVmax;
// End Bug fix
PerformScrollToLine(pos);
}