orientation change handler move to scripts.js