Hey, I have this problem with my dads car. You need to check if the window is correctly lined up. If it's not one side will hit the top of the window frame berfore the other side. This will then trigger an automatic release switch.(this stops peoples extremities getting caught in).
Jonny