full implementation of transition between document explore and document game