implemented swiping betwwn tabs with ViewPager