A web page normally loads some JS scripts like (animate.je, wow.js, scrollpage.js, and so on) when loading. I have realized one of these scripts are affecting the layout on mobile devices like smartphones when rotated in landscape position. Is there any way to say: If you are in landscape mode, disable the script 'animation.js'?
Edit: The problem pops up if the page is loaded in landscape mode and after that the device is rotated in landscape mode.