Constrain draggable panels to the viewport