LED Slider. Solutions that require fewer components?
The SR latch labeled "Dir" selects the LED's current direction.
The SR latch labeled "Boot" activates the first D latch, allowing the circuit to boot. After the first D latch is turned on, it turns off and the circuit continues to execute thanks to the return AND.