modif animate navigation.js