Minor Tweaks

Minor tweaks made, currently working out browser compatibility issues
Added window resize listener