Move the element with touch stop on the center of screen

I want to rotate the button with respect to the moment of the touch. but when the touch reaches to the center, touch is cancelled by swipe back to menu. How can i resolve this issue?