tweek init mobile check in scripts.js