Fix glitch on resize, get rid of globals, switch to jquery 'on' instead of 'live'
Merge pull request #2 from zevero/master

Fix glitch on resize, get rid of globals, switch to jquery 'on' instead of 'live'