increases sites responsiveness by monitoring navbar position on page resize