move dom right when panel opens