Update scripts.js

Fixed tablet menus not showing pages on click