Arduino, and Mechanical Movement of Objects - a Newbie Question

This type of transmission would be perfect, since it would always be in sync and would would not require any sort of lever at all, but it's construction would be more difficult which is why I didn't show it last night. Basically you would have the run in one direction on half the gear and the run in the other direction on the other, inner half. When it reached the end of the spool, it would just reverse the direction on its own.