Added reloading of bgimage upon window resize to script.js