Do not allow to drag the content beyond the boundary