Maybe like a crank gear attached to an r/c motor to move the bar side to side along a track? I don't know, just popped into my head like a cheap DIY light rail...