collapse the panel when clicking on the overdraw scrim