added scroll block when swiping