update the screenshot width