Reference window is separated

The bottom half of the reference window is separated form the top half and they occupy the full screen.  I need the two halves to be together as a window, like how it was originally. How do i fix this? 

The picture is the reference window, but it only shows the bottom half. When i click the reference flyout, it shows the references (without the bottom half)  but takes the whole screen. Help!