Making the white background dynamically resize asynchronously with HTTP requests