If you HAVE to use a slider you can make it FAST with a solenoid or slow with a servo.
Another option is to put the hole in a disk and have a motor rotate the disk. A notch on the side of the disk and a microswitch can be used to sense the stop position.