fixed js animation when selecting the same navigation.