You are correct! The electron movement pushed the electron pair toward the oxygen atom.