joys of [urlhttp://en.wikipedia.org/wiki/Gimbal_lock]Gimbal lock[/url] you'll need to use quaternion instead of euler calculations.

I think there's an ang_for_axis of something like that which will get you moving as expected