I wanted power windows for my 66 dart but I"m cheap!

Its so good when folks figure out how to "git er done" without spending a bundle.
Just curious, what stops the motor stop at the end of travel?