refactored welcome.js so it works w_window resize