refresh replaces resize in newer jQuery UI versions