Good for YOU!!! You WILL succeed because you've picked yourself back up from some poor food choices and are moving ahead.
Please keep in mind that our "normal-weighted" friends who have never faced a weight issue OFTEN do this. The difference is that they recognize their transgression and restrict a bit afterwards so that they can maintain their weight.
You are doing exactly what has to be done!
Kira