Popular resize on scroll: There is a famous issue on mobile that while scrolling page resize
event is triggered and there is a fine solution for it here.
My Scenario: In my case I am using wordpress with lots of scripts from different plugin and not sure which plugin/script is triggering scroll to top on page scroll which I am sure is because of resize event trigger.
The usual solution: I can turn of each script/plugin to find out the culprit & then add the famous solution of checking width update but It will take a lots of time and I have a different approach that I want to apply here that will not require to adjust resize function separately for each plugin.
Solution: I want to integrate the famous solution right inside jQuery resize function to check weather page width was actually change and should the resize function trigger in response?