background gallery autoplay animation option fix