Fix row extraction from selection
scroll to line when a row is selected