Gold prices slide as dollar index gains