Resize photo on window resize