Use a lookup table for LED bit masks, change the LED pattern to left/right chase.