Create gscroll.js

Logic for scrolling up and down a page when tilting the phone.