In case you no longer want to test Windows 10 on your device because you find it very slow, you cannot reset your phone to factory settings of Windows 8.1 by simply resetting it on Settings > About > Reset Your Phone because you are actually resetting Windows 10 to it's original settings.
To get out of Windows 10 OS and get Windows 8.1 back to your device, you need to download Windows 8.1 firmware from Microsoft. To do this, download this software called "Windows Phone Recovery Tool" and install it on your computer. Here's how it works:
Once finished with the installation, you may now enjoy Windows 8.1 OS! Just reinstall everything and I believe you backed up your device prior to installing Windows 10. If you backed-up your photos in OneDrive, you will see it immediately loaded on your device.
