Update navView.js

Class doesn't seem to work, animation attribute does