Reassign scrollTop if deleting lines decreases the max scrollTop

Fixes #2725
Only adjust scrollTop when deleting lines when using the React editor
Merge pull request #2773 from atom/ns-react-fix-delete-line-jitter

Fix scroll jitter when deleting a line reduces the maximum allowed scrollTop