how do I dock the animate 2 bar back to where it was?

Don't know what I did but my Animate 2 pane is on the left where as normally it would be alongways along the bottom. How do I undock it and put it back there please? (see pic)
(Edit update now my viewport is black?!! see second pic)


screenshot_20211023_111857.jpg
953 x 1012 - 191K


Untitled.jpg
1920 x 1080 - 158K
Post edited by Toobis on
Comments
Not sure what is going on in the first image - it seems tio have lost the tab by which it could be dragged into a floating group, which could then be docked. In the second the Viewport and render Library panes have been closed. At this point it may be simplest to reload your layout - Window>Workspace>Select Layout
that did it. thanks :)