code clean up

- fix index.php coding style
- refactor, clean up slide.js
Add compatibility script and 'back to top' button
Merge Deltamaster pull request