remove refresh from page with inline gallery