I have a viewport open I want to close or get rid of.

I opened it by mistake by pulling at the upper right hand corner of the window. It will not merge with the viewport beside it when I hover over the dividing line and click on join or when I hit the J key. Any suggestions!

Figured it out. Evened out the sizes of my viewports and clicked on join.