add hidden div and footer js to identify current active nav item