swipe mode for stacktoc