Improved "responsive design;" abstracted js a bit.

Also updated readme