constraint full swiping

use flag to constraint most left or right swiping