trying to get page load on nav click