it was only by keeping his head , and remembering leonardo 's instructions regarding the use of the joystick , that ezio was able to right the craft and guide it back - just - to the pexaro palace roof .