Add maximize width and height
Add window resize event handler