I am doing it through animations. I'm guessing that it's a parameter of the animation that is a attached to the panel?
Also, your animation looks really slick. Mine, the panel and text just seems to move to the left and don't look nearly as cool. Is that controlled by the part of the UIButtonAnimation with forward, toggle, or reverse?