inline gallery story fix