improve the view swipe