Leaving pos here as e.detail.position is undefined in swipe