During the time when the two spaceships are in space, you see them swooping a lot to avoid asteroids and such. This can only happen on earth, though, because of the air. In space there is no air for the spacecrafts to swoop on. You can only go strait, so apparently the writer wanted a more action-like film.
Aircraft in an atmosphere use airflow to "swoop" and steer...rudders, elevators & ailerons are used for this. A spacecraft outside of atmosphere cannot use those same means of maneuvering. However, this does NOT mean they can "only go straight." Instead, they use thrusters positioned at various locations along the craft to adjust the orientation, and they CAN therefore steer & "swoop."