Add JavaScript to toggle nav arrow