toggle overlay by clicking aroud