Trigger layout after toggling fullscreen.

We need to wrap the jsx render call so we can invoke it from
normal js. The trigger has to happen after the transition is
complete or React will still see the original height, so delay
half a second.