split SlidingTabAdapter into a separate class