it generally maintains its course to the west up to its mouth