moved navigation script inline into header for page optimization