Update js to refresh navHomeY value on resize