modified version of swipelistview