more work on swipe and scroll tabs