fix navgation bar problem
fix main nav problem
split file
add analytic code