In your SetPoint calls, you need to add the parent panel variable to anchor it to.
Since you are using the variable "panel"
for example:
should really be
Lua Code:
title:SetPoint("TOP", panel)
Also move the
Lua Code:
InterfaceOptions_AddCategory(panel)
to the bottom of all of your panel code