gimbal setup in appdelegate