Ok, I've no idea how I did it, but I got it working. However, the formatting is a bit messed up, and I'm not fluent in HTML or PHP to fix it. For one thing, the collapse icon is reversed, and the default is to collapsed, unlike all the other modules. And the title only goes 1/3 of the way across (I did nothing at all to any formatting commands, only what I mentioned above.
Also, how can I remove the "stacked" effect?