Update global.js

Added fix for Android page shifting.