add timeout for checking if width is too wide (safari)