toggle inspector and window