Cookies added-> resize behaves correctly (for chrome use --enable-file-cookies