added tab+swipe function