Added swipe event to clear todo and called hammer on the element in the render function