TT window problems

My 2000 TT driver side window does not roll down. I can hear a clicking noise when I try. I removed the door panel, removed and reinstalled the motor, and then it worked fine for about a week, but
then stopped again. Any idea what the problem is? I dread having to replace the controller, since it seems like it would be difficult to install.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website by car enthusiasts for car enthusiasts. It is not affiliated with any of the car or spare part manufacturers or car dealers discussed here. All logos and trade names are the property of their respective owners.