changed to onToggleFullScreen