trying to prevent resize event from being fired on mobile scrolling