Electric window slow/somitimes stops going up and down

What would be the fix for my driver window sometimes acting as if it is out of power going up and down? I have a 2001 Toyota Corolla and it is only the drivers side window.

This may not be the total fix but try getting silicone spray with the straw, put window down then spray window channel then put window up, do it one more time and if it helps it maybe a channel bent or loose.
I do this to my windows 1 time a month and believe it helps take strain off a motor.