swipe to do any function
This is React native javaScript component which is used to expand the list hide/show the list etc...