reload widget on preview page when dimensions change; move preview.html into subdir