move panels to front when dragging