Changed a little bit of code for the nav