Self-Manipulation and Dynamic Transitions for a Legged Robot