resetting of swipeview