Added boundaries to swiping region.