return offset to control_panel, also now hide on close