moved panel margin to screen only