Thank you shadow but that didn't work for me but I finally pinpointed the bug.
If the display is switched to vertical at any moment then the scrolling will stop working on that page until the tab is closed and the game re-opened in a fresh one. Looks like some css property from the vertical mode isn't reset. Also the scrolling will work until the page is finished loading, meaning the resilient css property is only evaluated last.