Improved "responsive design;" abstracted js a bit.

Also updated readme
Merge remote-tracking branch 'origin/master' into gh-pages