update the temperature plot when the browser window is resized so it doesn't overflow