moved scripts in attempt to fix mobile display