Fixed bug where Swipe gesture could not be properly removed.