Add window size check in primaryNavBgToggle() window resize