Update scripts.js

Fixed tablet menus not showing pages on click
Merge pull request #71 from Kevincredible/patch-54

Update scripts.js