When i made an exit button for a panel that goes full size when you click it, once the window "return to original size" animation is done. it does the "fullscreen the window" animation ? here is the JSFiddle link so you can look at it.
because for jsfiddle links you need a code section, here it is