Emergency window reinstallation

The window with frame, all one piece. It is the emergency exit window and I opened it too far and it came right off. Now it doesn't want to go right back on. We bought the 5th wheel used, and I found 2 screws laying next to 2 holes that go to the window, but I can't get the window to line back up to reinstall the screws.
 
Top