added kill swipe functionality