support swiping by page width only