Create wallgallery.js

debouncedresize is special jQuery event that happens once after a window resize