Force gallery refresh after page finishes loading.