hiding the control panel