refs bug 976213: adding window.onpopstate check back to maintain Nav menu functionality