fixed conflict between scroll and focus