Resetting the windows is easy, all you have to do is
Turn ignition on
Push the open window button until the window is open, then keep it pressed for 5 seconds longer.
Push the close window button until it is closed, then release.
This should reset the memory on the window and use the same procedure for both windows.