Add gallery top padding if gallery follows another content block.