window resize event handler added, needs interval added