Orbital dynamics of the planetary system HD 196885