Separated nav hide and show into its own js file.