Add window resize handling

introduced underscore as dependency