add toggle_desktop function