fixed window resize event bug and change navigation width dynamically depending on viewport width, updated semver