As long as you have a valid visa you should not have a problem entering the US. But since you left prior to receiving the approval of your I-131, the petition that was the basis for the I-131 a(adjustment of status or change of status) will be considered abandoned and you will have to start that process over again and pay the applicable filing fees again as well.
You are fine.
NYC EXPERIENCED IMMIGRATION ATTORNEYS www.myattorneyusa.com; email: email@example.com; Phone: (866) 456-8654; Fax: 212-964-0440; Cell: 212-202-0325. The information contained in this answer is provided for informational purposes only, and should not be construed as legal advice on any subject matter.
You will have no problem upon reentry to the US. Don't worry so much over almost nothing!
Behar Intl. Counsel 619.234.5962 Kindly be advised that the answer above is only general in nature cannot be construed as legal advice, given that not enough facts are known. It is your responsibility to retain a lawyer to analyze the facts specific to your particular situation in order to give you specific advice. Specific answers will require cognizance of all pertinent facts about your case. Any answers offered on Avvo are of a general nature only, and are not meant to create an attorney-client relationship.