Navigate to line only if nothing is selected