Unfortunately, there is no such option to open it on desktop and close on mobile. We will consider adding it in the future.
Regards