added calculation for right swipe to take all number to right of chosen number